package com.wanghua.mall.secKill.constant;

/**
 * @author wanghua
 * @create 2021-09-11 16:51
 */
public class RedisConstant {
    public static final String SESSION_CACHE_PREFIX = "secKill:sessions:";

    public static final String SECKILL_CACHE_PREFIX = "secKill:skus";

    public static final String SKU_STOCK_SEMAPHORE = "secKill:stock:";    //+商品随机码

    //分布式锁
    public static final String UPLOAD_LOCK = "secKill:upload:lock";

}
